﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kimd.Motion
{
    public class Cell
    {
        public string SN { get; set; }
        public CellStatus Status { get; set; }
        public TestResult Result { get; set; }
        public int CellStationNo { get; set; }
        public bool IsTestFinish { get; set; }
        public string MirrorNo { get; set; }
        public string HolderNo { get; set; }
        public string NGBin { get; set; }
        public List<int> TestedTesters { get; set; }
        public bool IsUp { get; set; }
        /// <summary>
        /// 提前判定为NG不测试
        /// </summary>
        public bool IsPreNG { get; set; }
        public Cell()
        {
            TestedTesters = new List<int>();
        }
    }
    public enum CellStatus
    {
        NoProduct,
        HasProduct,
        RoughCCDOK,
        RoughCCDNG,
        PreciseCCDOK,
        PreciseCCDNG,
        TestFinish,
        ScanNG,
    }
    public enum TestResult
    {
        NoTest,
        FirstTimeNG,
        FirstTimeOK,
        SecondTimeOK,
        SecondTimeNG,
        ThirdTimeOK,
        ThirdTimeNG,
    }
}
